/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.property.chargeinfo.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.property.chargeinfo.entity.PropertyChargeinfo;
import com.jeeplus.modules.property.chargeinfo.mapper.PropertyChargeinfoMapper;

/**
 * 收费信息Service
 * @author 陈龙
 * @version 2019-01-10
 */
@Service
@Transactional(readOnly = true)
public class PropertyChargeinfoService extends CrudService<PropertyChargeinfoMapper, PropertyChargeinfo> {
@Autowired
private PropertyChargeinfoMapper PpopertyChargeinfoMapper;
	public PropertyChargeinfo get(String id) {
		return super.get(id);
	}
	
	public List<PropertyChargeinfo> findList(PropertyChargeinfo propertyChargeinfo) {
		return super.findList(propertyChargeinfo);
	}
	
	public Page<PropertyChargeinfo> findPage(Page<PropertyChargeinfo> page, PropertyChargeinfo propertyChargeinfo) {
		return super.findPage(page, propertyChargeinfo);
	}
	
	@Transactional(readOnly = false)
	public void save(PropertyChargeinfo propertyChargeinfo) {
		super.save(propertyChargeinfo);
	}
	
	@Transactional(readOnly = false)
	public void delete(PropertyChargeinfo propertyChargeinfo) {
		super.delete(propertyChargeinfo);
	}
	@Transactional(readOnly = false)
	public void updatePayStatus(String procInsId) {
		PpopertyChargeinfoMapper.updatePayStatus(procInsId);
	}

}